package tree.traversal;

import tree.model.IModelTree;

import java.util.List;

/**
 * Created by admin on 2019/1/25.
 */
public class ModelTreeTraversal<M extends IModelTree<M, Id>, Id> extends TreeTraversalBase<M> {
    public ModelTreeTraversal() {
    }
    @Override
    protected List<M> getChildren(M node) {
        return node.getChildren();
    }
}
